package com.ruoyi.stuclient.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.ruoyi.stuclient.domain.EwcChapter;
import com.ruoyi.stuclient.domain.dto.ChapterRaiseHandDto;
import com.ruoyi.stuclient.domain.vo.TodayCourseChapterVo;

import javax.validation.Valid;
import java.util.List;

/**
 * 章节信息Service接口
 * 
 * @author lcj
 * @date 2025-02-27
 */
public interface IEwcChapterService extends IService<EwcChapter> {

    /**
     * 查询首页课程信息
     * @param studentId 学生id
     * @param nowDate 时间
     * @return 课程信息
     */
    List<TodayCourseChapterVo> getCourseInProgress(String studentId, String nowDate);

    EwcChapter getChapterStatus(@Valid ChapterRaiseHandDto chapterRaiseHandDto);
}
